package com.situ.mall.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author darling
 * @since 2023-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_admin_menu")
public class AdminMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单名
     */
    private String name;

    /**
     * 菜单链接地址
     */
    private String href;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 打开方式
     */
    private String target;

    /**
     * 父菜单ID
顶级菜单，值为0
     */
    private Integer parentId;

    /**
     * 排序规则
     */
    private Integer sort;


}
